<?php if ($this->_var['index_ad'] == 'sys'): ?>
		<div id="controls">
			<a href="" class="prev"><?php echo $this->_var['lang']['prev']; ?></a>
			<a href="" class="next"><?php echo $this->_var['lang']['next']; ?></a>
		</div>
		<div id="featured-slideshow">
		<?php $_from = $this->_var['ad']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('index', 'value');if (count($_from)):
    foreach ($_from AS $this->_var['index'] => $this->_var['value']):
?>
			<div class="featured-slideshow-inner" <?php if ($this->_var['index'] > 0): ?> style="display: none" <?php endif; ?> >
				<a class="featured-article" href="<?php echo $this->_var['value']['url']; ?>" rel="bookmark">
				<img class="attachment-featured-slideshow-thumb" width="640" height="300" title="<?php echo $this->_var['value']['title']; ?>" src="<?php echo $this->_var['value']['src']; ?>">
				</a>
				<div class="featured-entry">
					<a class="entry-title" href="<?php echo $this->_var['value']['url']; ?>" rel="bookmark"><?php echo $this->_var['value']['title']; ?></a>
					<div class="entry-summary">
					<p><?php echo $this->_var['value']['text']; ?></p>
					</div>
					<div class="progress"></div>
				</div>
			</div>
		<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		</div>
<?php endif; ?>